#ifndef _CONTAINER_H_
#define _CONTAINER_H_

#include <list>

#include <displayObject.h>

namespace lgb_gtk
{
  
  class Widget;

  class Container : virtual public DisplayObject
  {
  protected:
    GooCanvasItem *canvasForChild;
    std::list<Widget*> childens;
    
  public:
    virtual string Type() = 0;
    int AddChild(Widget *widget);
    int RemoveChild(Widget *widget);
    bool Contains(Widget *widget);
  };
  
}

#endif
